<?php
/**
 * 搜索
 * 
 * @copyright 	Copyright (c) 2011 thinkapk.com All rights reserved.
 * @package 	ThinkAPK_Action
 * @link 		http://www.thinkapk.com/
 * @author 		richie <richbossman@163.com>
 * @version 	$Id: SearchAction.class.php 7482 2011-05-19 10:12:51Z richie $
 * 
 */
class SearchAction extends ThinkAPK_Action_Web {
	
	function _before_index(){
		$keyword = isset($_POST['keyword'])?trim($_POST['keyword']):'';
		header('Location:'.U('thinkapk://Tag/index', array('id'=>urlencode($keyword))));
	}
}
?>